#include "hip/hip_runtime.h"

template<typename T>
__device__ __forceinline__ void run(float* a, float* b, T c) {
    a[0] = b[0] + c;
}

template<typename T>
__device__ __noinline__ void test_func_1(float* a, float* b, T c) {
    run(a, b, c);
}

__global__ void test_func(float* a, float* b, int c) {
    test_func_1(a, b, c);
}
